package com.dandelion.admin.domain;

import java.io.Serializable;
import java.util.Date;

public class OrderListItem implements Serializable {
    private String id;
    private String orderNo;

    private String topCatName;

    private String svrName;

    private String orderCctName;
    private String orderCctMobile;

    private String cstName;
    private String cstMobile;

    private String cstAddrProv;
    private String cstAddrCity;
    private String cstAddrArea;
    private String cstAddrDist;
    private String cstAddrDetail;

    private String bldLift;
    private String bldFloor;
    private String verify;
    private String verifyCode;

    private String exprComName;
    private String exprStatus;
    private int exprStatusInt;
    private String exprOrderNo;

    private String pkAddr;

    private String pkCctName;
    private String pkCctMobile;
    private String preFrePay;
    private String pkgNum;
    private String status;
    private String specialReq;
    private String cstExpectDeliverDate;
    private String estDeliverDate;

    private Date createTime;
    private Date updateTime;

    public String getCstExpectDeliverDate() {
        return cstExpectDeliverDate;
    }

    public void setCstExpectDeliverDate(String cstExpectDeliverDate) {
        this.cstExpectDeliverDate = cstExpectDeliverDate;
    }

    public String getEstDeliverDate() {
        return estDeliverDate;
    }

    public void setEstDeliverDate(String estDeliverDate) {
        this.estDeliverDate = estDeliverDate;
    }

    public boolean isNewOrder() {
        if (createTime == null || updateTime == null) {
            return false;
        }

        long min = createTime.getTime() - 2000;
        long max = createTime.getTime() + 2000;
        return (min <= updateTime.getTime() && updateTime.getTime() <= max);
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getExprStatusInt() {
        return exprStatusInt;
    }

    public void setExprStatusInt(int exprStatusInt) {
        this.exprStatusInt = exprStatusInt;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getCstAddrDetail() {
        return cstAddrDetail;
    }

    public void setCstAddrDetail(String cstAddrDetail) {
        this.cstAddrDetail = cstAddrDetail;
    }

    public String getPkAddr() {
        return pkAddr;
    }

    public void setPkAddr(String pkAddr) {
        this.pkAddr = pkAddr;
    }

    public String getSpecialReq() {
        return specialReq;
    }

    public void setSpecialReq(String specialReq) {
        this.specialReq = specialReq;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getTopCatName() {
        return topCatName;
    }

    public void setTopCatName(String topCatName) {
        this.topCatName = topCatName;
    }

    public String getSvrName() {
        return svrName;
    }

    public void setSvrName(String svrName) {
        this.svrName = svrName;
    }

    public String getOrderCctName() {
        return orderCctName;
    }

    public void setOrderCctName(String orderCctName) {
        this.orderCctName = orderCctName;
    }

    public String getOrderCctMobile() {
        return orderCctMobile;
    }

    public void setOrderCctMobile(String orderCctMobile) {
        this.orderCctMobile = orderCctMobile;
    }

    public String getCstName() {
        return cstName;
    }

    public void setCstName(String cstName) {
        this.cstName = cstName;
    }

    public String getCstMobile() {
        return cstMobile;
    }

    public void setCstMobile(String cstMobile) {
        this.cstMobile = cstMobile;
    }

    public String getCstAddrProv() {
        return cstAddrProv;
    }

    public void setCstAddrProv(String cstAddrProv) {
        this.cstAddrProv = cstAddrProv;
    }

    public String getCstAddrCity() {
        return cstAddrCity;
    }

    public void setCstAddrCity(String cstAddrCity) {
        this.cstAddrCity = cstAddrCity;
    }

    public String getCstAddrArea() {
        return cstAddrArea;
    }

    public void setCstAddrArea(String cstAddrArea) {
        this.cstAddrArea = cstAddrArea;
    }

    public String getCstAddrDist() {
        return cstAddrDist;
    }

    public void setCstAddrDist(String cstAddrDist) {
        this.cstAddrDist = cstAddrDist;
    }

    public String getBldLift() {
        return bldLift;
    }

    public void setBldLift(String bldLift) {
        this.bldLift = bldLift;
    }

    public String getBldFloor() {
        return bldFloor;
    }

    public void setBldFloor(String bldFloor) {
        this.bldFloor = bldFloor;
    }

    public String getVerify() {
        return verify;
    }

    public void setVerify(String verify) {
        this.verify = verify;
    }

    public String getExprComName() {
        return exprComName;
    }

    public void setExprComName(String exprComName) {
        this.exprComName = exprComName;
    }

    public String getExprStatus() {
        return exprStatus;
    }

    public void setExprStatus(String exprStatus) {
        this.exprStatus = exprStatus;
    }

    public String getExprOrderNo() {
        return exprOrderNo;
    }

    public void setExprOrderNo(String exprOrderNo) {
        this.exprOrderNo = exprOrderNo;
    }

    public String getPkCctName() {
        return pkCctName;
    }

    public void setPkCctName(String pkCctName) {
        this.pkCctName = pkCctName;
    }

    public String getPkCctMobile() {
        return pkCctMobile;
    }

    public void setPkCctMobile(String pkCctMobile) {
        this.pkCctMobile = pkCctMobile;
    }

    public String getPreFrePay() {
        return preFrePay;
    }

    public void setPreFrePay(String preFrePay) {
        this.preFrePay = preFrePay;
    }

    public String getPkgNum() {
        return pkgNum;
    }

    public void setPkgNum(String pkgNum) {
        this.pkgNum = pkgNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}